ul#osmio-modal-gallery-controls {
	position: absolute;
	bottom: 50px;
	left: 50%;
	padding: 0;
	margin: 0 -125px;
	list-style: none;
	width: auto;
	white-space: pre;
	text-align: center;
}

ul#osmio-modal-gallery-controls li {
	display: -moz-inline-box; display: inline-block; *zoom: 1; *display: inline;
	margin: 0 1px 0 0;
	padding: 0;
}

ul#osmio-modal-gallery-controls li a {
	position: relative;
	padding: 0.6em 0.85em 0.75em 0.85em;
	background: #eee;
	color: black;
	opacity: 0.8;
	filter: alpha(opacity=80);
	outline: none;
}

ul#osmio-modal-gallery-controls li a:hover {
	background-color: #fff;
	color: #00d;
	z-index: 2;
}

ul#osmio-modal-gallery-controls li a.osmio-modal-gallery-controls-disabled {
	opacity: 0.5;
	filter: alpha(opacity=50);
	background-color: #eee;
	color: black;
	cursor: default;
}

ul#osmio-modal-gallery-controls li:first-child a {
	border-radius: 8px 0 0 8px;
	-moz-border-radius: 8px 0 0 8px;
	-webkit-border-radius: 8px 0 0 8px;
}

ul#osmio-modal-gallery-controls li:last-child a {
	border-radius: 0 8px 8px 0;
	-moz-border-radius: 0 8px 8px 0;
	-webkit-border-radius: 0 8px 8px 0;
}
